package com.qfedu.zf.user.controller;


import com.qfedu.zf.common.vo.R;
import com.qfedu.zf.user.mapper.CouponAddMapper;
import com.qfedu.zf.user.mapper.CouponMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author zym
 * @since 2024-06-21
 */
@RestController
@RequestMapping("/user/couponAdd")
public class CouponAddController {

    @Autowired
    private CouponAddMapper couponAddMapper;

    @RequestMapping("/list")
    public R selectCouponAddList(){
        return R.ok(couponAddMapper.selectList(null));
    }
}

